<template>
  <view class="container">
    <view class="wrap">
      <image class="scs" src="/static/cheng.png" mode=""></image>
      <view class="h1">支付成功</view>
      <view class="btn" @click="navtoBill">返回首页</view>
      <!-- <image class="wechat" :src="baseUrl + configInfo.kefu_qrcode.value" mode="widthFix"></image> -->
    </view>
  </view>
</template>

<script>
import { baseUrl } from '@/utils/baseUrl.js';
export default {
  data() {
    return {
      configInfo: uni.getStorageSync('configInfo'),
      baseUrl
    };
  },
  onLoad() {},
  methods: {
    navtoBill() {
      uni.redirectTo({
        url: '/pages/index/index'
      });
    }
  }
};
</script>

<style lang="scss">
.wrap {
  text-align: center;
  .scs {
    width: 100rpx;
    height: 100rpx;
    margin-top: 100rpx;
  }
  .h1 {
    margin: 30rpx 0;
    font-size: 28rpx;
  }
  .btn {
    width: 200rpx;
    padding: 8rpx 40rpx;
    margin: 30rpx auto 60rpx;
    border-radius: 12rpx;
    color: #ff4444;
    border: 1rpx solid #ff4444;
  }
  .wechat {
    width: 400rpx;
    margin-top: 30rpx;
  }
}
view,
text {
  box-sizing: border-box;
}

page {
  background-color: #f8f8f8;
}

.container {
  color: #333333;
  font-size: 26rpx;
}
</style>
